package com.himiotech.core.project.model.metadata;

/**
 * @author wuwenbin
 * @date 2021-05-13 17:49:14
 **/
public enum MenuMetadata {

    /**
     * 字段类型列举，方便 mp 的 wrapper 使用
     */
    MENU_ID("menu_id"),
    MENU_NAME("menu_name"),
    PARENT_ID("parent_id"),
    ORDER_NUM("order_num"),
    URL("url"),
    TARGET("target"),
    MENU_TYPE("menu_type"),
    VISIBLE("visible"),
    IS_REFRESH("is_refresh"),
    PERMS("perms"),
    ICON("icon"),
    CREATE_BY("create_by"),
    CREATE_TIME("create_time"),
    UPDATE_BY("update_by"),
    UPDATE_TIME("update_time"),
    REMARK("remark");

    private final String colName;

    MenuMetadata(String colName) {
        this.colName = colName;
    }

    public String getColName() {
        return colName;
    }
}
